﻿using CleanArchitecture.Core.SharedKernel;

namespace CleanArchitecture.Infrastructure.Entities.Business
{
    /// <summary>
    /// Represents a picture binary data
    /// </summary>
    public partial class FileBinary : BaseEntity
    {
        /// <summary>
        /// Gets or sets the picture binary
        /// </summary>
        public byte[] BinaryData { get; set; }

        /// <summary>
        /// Gets or sets the picture identifier
        /// </summary>
        public int FKFileUploadId { get; set; }

        /// <summary>
        /// Gets or sets the Uploaded File
        /// </summary>
        public virtual FileUpload FileUpload { get; set; }
    }
}
